import request from '../utils/request'

// 登录
export const login = (data) => {
    return request.post('/login', data)
}

// 首页数据
export const index = () => {
    return request.get('/Index/index')
}

export const authAdmin = (params) => {
    return request.get('/auth/admin', { params })
}